<template>
	<view>
		<view>
		  <view class="z-flex">
		    <image :src="cdn(config.skill_image)" class="logo-img" mode="" />
		  </view>
		  <!-- <view class="versions z-text-c z-margin-t-24">v{{info.miniProgram.version || ''}}</view> -->
		
		  <view class="item-box">
		    <view class="z-flex-c-s-b z-padding-lr-32 z-margin-t-72" @tap="call(config.service_mobile)">
		      <view>客服电话</view>
		      <view>{{config.service_mobile}} <image class="to-img z-padding-l-24" src="../../static/index/to-img.png"></image> </view>
		    </view>
		
		    <view class="z-flex-c-s-b z-padding-lr-32 z-margin-t-72" @tap="call(config.cooperate_mobile)">
		      <view>商务合作</view>
		      <view>{{config.cooperate_mobile}} <image class="to-img z-padding-l-24" src="../../static/index/to-img.png"></image> </view>
		    </view>
		
		    <view class="z-flex-c-s-b z-padding-lr-32 z-margin-t-72">
		      <view>当前版本</view>
		      <!-- <view>v{{info.miniProgram.version || 1.0.0}} <image class="to-img z-padding-l-24" src="../../static/index/to-img.png"></image> </view> -->
		    </view>
		  </view>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {
				config: uni.getStorageSync('config'),
				info: wx.getAccountInfoSync()
			}
		},
		methods: {
			call(event){
			    uni.makePhoneCall({
			      phoneNumber: event
			    })
			  },
		}
	}
</script>

<style>

</style>
